﻿using System;

namespace edowork.com.Model
{
    #region stackInfo

    [Serializable]
    public class stackInfo
    {
        #region Private fields

        protected string _stackid = String.Empty;
        protected string _stackname = String.Empty;
        protected string _sysdate = String.Empty;

        #endregion

        public stackInfo() { }

        #region Public Properties

        public string Stackid
        {
            get { return _stackid; }
            set { _stackid = value; }
        }

        public string Stackname
        {
            get { return _stackname; }
            set { _stackname = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into stack(Stackid,Stackname,Sysdate) values('{0}','{1}','{2}')";
        }

        #endregion

    }

    #endregion
}

